package com.jhoncy.rapid.base.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author zhuangqi
 * @date 2017/7/19.
 */
@Entity
public class BaseRolePermission implements Serializable {

    private static final long serialVersionUID = -3441769321892840587L;
    @Id
    @Column(nullable = false,length = 32)
    private String lsh;

    @Column(length = 32)
    private String roleId;

    @Column(length = 32)
    private String permissionId;

    public String getLsh() {
        return lsh;
    }

    public void setLsh(String lsh) {
        this.lsh = lsh;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }
}
